﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Face8280WebSocketServer.Command.Models
{
    /// <summary>
    /// websocket服务器参数
    /// </summary>
    public class WebsocketServerModel
    {
        /// <summary>
        /// 服务器地址
        /// </summary>
        public string Server { get; set; }
        /// <summary>
        /// 服务器端口
        /// </summary>
        public int Port { get; set; }
        /// <summary>
        /// 登录凭证
        /// </summary>
        public string Token { get; set; }
        /// <summary>
        /// SSL证书
        /// </summary>
        public string ServerSSLCert { get; set; }
        /// <summary>
        /// 在线状态
        /// </summary>
        public int Status { get; set; }
        /// <summary>
        /// 保活包间隔
        /// </summary>
        public int Keepalive { get; set; }
        /// <summary>
        /// 连接保持时间
        /// </summary>
        public int Keeptime { get; set; }
        /// <summary>
        /// 重连间隔时间
        /// </summary>
        public int ReconnectTime { get; set; }
    }
}
